Relationship between disability and cognitive function in patients with chronic obstructive pulmonary disease: role of age