Philosophers identify two different kinds of happiness. Research finds that having money makes it easier to attain both of them.