is process of mg to mg2 exothermic