Association of lifespan cognitive reserve indicator with the risk of mild cognitive impairment and its progression to dementia