WO3 thin films by sol–gel for electrochromic applications