Sensing for exhaust gas properties