Assessment of length of hospital stays of patients with acute exacerbations of chronic obstructive pulmonary disease