environmental factors affecting mental health