Sol–gel synthesis of WO3 thin films