The Effect of In Situ Synthesis of MgO Nanoparticles on the Thermal Properties of Ternary Nitrate