Research shows thinking about death may help us derive more pleasure and purpose from our finite time on earth.