Thin films of WO3 for practical electrochromic windows