Trends in prevalence and the effects on hospital outcomes of dementia in patients hospitalized with acute COPD exacerbation