Estimating lung volume during high frequency ventilation