Characterization of WO3 thin films deposited by spray pyrolysis technique and its role in gas sensing