Cumulative life course adversity, mental health, and cognition in the UK biobank