Recurrent depressive symptoms and the incidence of dementia and mild cognitive impairment