A theoretical study of the transient and steady-state cardiorespiratory response to exercise