The chemical control of ventilation