Cognitive symptoms during the menopausal transition and early postmenopause