Optical switching properties of Pd--Ni thin-film top-capped switchable mirrors