The structure and dynamics of hydrogen in Mg2NiH4 studied by elastic and inelastic neutron scattering