Gas Exchange during Mechanical Ventilation and Spontaneous Breathing