The association between cognitive impairment and 30-day mortality among older Chinese inpatients