Comparison of methods of measuring static lung volumes.