A 3D finite element method for the coupled numerical simulation of electrochemical systems and fluid flow: ion transport in electrodeposition