Electrochromic coatings for “smart windows”