And the secrets to a happier life, according to science.