Intergenerational connection between environment and mental health