Numerical simulation of pulmonary O2 and CO2 exchange.