The Thermodynamics Of Ga, In And Other Moderately Volatile Elements In Cosmochemical Processes