TiO2 anatase thin films as gas sensors