Measurement of functional residual capacity by nitrogen washout during partial ventilatory support