How your outlook may affect your brain