Predictors of need of mechanical ventilation and reintubation in patients with acute respiratory failure secondary to chronic obstructive pulmonary disease