Structure and optical properties of electrochromic tungsten-containing nickel oxide films