Thermodynamic calculation and reference electrode calibration for high temperature molten salts