Incidence of cognitive impairment and dementia after hospitalisation for pneumonia: a UK population-based matched cohort study