Electrochemical synthesis of refractory borides from molten salts