Synthesis of photochromic oxygen-containing yttrium hydride