Optical properties of metal-hydrides: switchable mirrors