Influence of chloride-mediated oxidation on the electrochemical degradation of the direct black 22 dye using boron-doped diamond and β-PbO2 anodes