Cognitive status among patients with chronic obstructive pulmonary disease