A design of an ultra-compact infrared gas sensor for respiratory quotient (qCO2) detection