TOF spectra of direct recoils: II. Interaction of H2 with clean and oxidized magnesium