Association of cognitive function with cause-specific mortality in middle and older age: follow-up of participants in the English Longitudinal Study of Ageing