Methods for neutron diffraction studies on hydride superconductors and other metal hydrides