Dissociation energy of MgO from true potential energy curve