Production of oxidants via electrolysis of carbonate solutions with conductive-diamond anodes