Structural and optical characterization of WO3 thin films for gas sensor applications