In-situ investigation of the hydrogen release mechanism in bulk Mg2NiH4