Gas sensing materials based on TiO2 thin films