Yttrium hydride layer with switchable microwave properties