how optimism affects physical health