Electrochemical determination of boron in minerals and ceramic materials