Crystal structure and cyclic properties of hydrogen absorption–desorption in Pr2MgNi9