A thermodynamic study of the hydrogenation of the pseudo-binary Mg6Pd0.5Ni0.5 intermetallic compound