Improved optical properties of switchable mirrors based on Pd/Mg-TiO 2 films fabricated by magnetron sputtering