A Mathematical Model of the Chemistry of the External Respiratory System