Predictors of requirement of mechanical ventilation in patients with chronic obstructive pulmonary disease with acute respiratory failure