Lifetime stress exposure, cognition, and psychiatric wellbeing in women