Response evaluation of TiO2 sensor to flue gas on spark ignition engine and in controlled environment