In situ x‐ray diffraction apparatus for metal hydride studies