The electrochromic and photocatalytic properties of electron beam evaporated vanadium-doped tungsten oxide thin films