Detoxification of synthetic industrial wastewaters using electrochemical oxidation with boron-doped diamond anodes