Lung opening and closing during ventilation of acute respiratory distress syndrome