Prevalence of cognitive impairment in Chinese older inpatients and its relationship with 1-year adverse health outcomes: a multi-center cohort study