Phasic air movement model of respiratory regulation of carbon dioxide balance