COPD and the risk of mild cognitive impairment and dementia: a cohort study based on the Chinese Longitudinal Health Longevity Survey