Coexistence of lowered mood and cognitive impairment of elderly people in five birth cohorts