Risk score for the prediction of dementia risk in 20 years among middle aged people: a longitudinal, population-based study