Predictors of functioning of patients with chronic obstructive pulmonary disease