In vitro and in vivo evaluation of a new large animal spirometry device using mainstream CO2 flow sensors.