A new study finds sharp contrasts between brain changes in menopause and those during pregnancy and puberty