mental clarity during perimenopause