Dietary magnesium intake and dementia risk in community-dwelling people aged 40–74 years: an 8-year cohort study | Synapse