Cognitive activity, education and socioeconomic status as preventive factors for mild cognitive impairment and Alzheimer's disease