How to be an optimist can change your life for the better