Changes in prevalence and incidence of dementia and risk factors for dementia: an analysis from cohort studies