Electrochromism of NiO-TiO2 sol gel layers