Alzheimer’s disease as a multistage process: an analysis from a population-based cohort study