Why being an optimist is good for your heart