Metformin and cognition from the perspectives of sex, age, and disease