Title: Titanium dioxide thin films for gas sensors and photonic applications