Comparison of mask and nasal continuous positive airway pressure after extubation and mechanical ventilation