Social class and gender patterning of insomnia symptoms and psychiatric distress: a 20-year prospective cohort study