Ventilatory and gas exchange dynamics in response to sinusoidal work.