Mental health over the life course