Detection of Alzheimer's disease and dementia in the preclinical phase: population based cohort study