Hospital-treated infectious diseases and the risk of dementia: a large, multicohort, observational study with a replication cohort | Synapse