Electrochemical treatment of reverse osmosis concentrate on boron-doped electrodes in undivided and divided cell configurations.