Motherhood and menopause can affect women's cognitive health, positively, for the long-term—with significant implications for women and their employers alike.