Relationship between the microstructure and nanoindentation hardness of thermally evaporated and magnetron-sputtered electrochromic tungsten oxide films