Social activity, cognitive decline and dementia risk: a 20-year prospective cohort study