Longitudinal cognitive change and duration of Alzheimer’s disease stages in relation to cognitive reserve