Electrochromics for smart windows: thin films of tungsten oxide and nickel oxide, and devices based on these | Synapse