Dementia among older in-hospital patients with obstructive airway disease