Application of electrochemical technology for removing petroleum hydrocarbons from produced water using lead dioxide and boron-doped diamond electrodes.