Band structure and thermodynamic properties of He atoms near a MgO surface