Women’s reproductive life patterns, intrinsic capacity, and the risk of all-cause and cause-specific dementia: a prospective cohort study | Synapse