Characterization of sol-gel prepared WO3 thin films as a gas sensor