The interaction potential and derived scattering and thermodynamic quantities of H2 with the MgO(001) surface