Predictive factors for the success of noninvasive mechanical ventilation in acute respiratory failure