EXAFS investigation of the destabilization of the Mg–Ni–Ti (H) system