Hydrodynamic effects on the efficiency of porous flow-through electrodes