Biofouling prevention with pulsed electric fields