Noninvasive ventilation during weaning from prolonged mechanical ventilation