Effects of the menopause transition and hormone use on cognitive performance in midlife women