Electrochemical monitoring of high-temperature molten-salt corrosion