memory problems perimenopause