Electrochromism of nanoparticulate-doped metal oxides: optical and material properties