what are the factors affecting good mental health​