Electrolytic oxidation of xylose in the presence of alkaline earth bromides and carbonates