Electrochemical treatment of domestic wastewater using boron-doped diamond and nanostructured amorphous carbon electrodes