What is perimenopause? Your brain may hold a clue