How thinking about your future might help you live a happy life