Thermodynamic relations of immiscibility and crystallization of molten silicates