Solid state electrochromic infrared switchable windows