Dynamical modeling of the electrochemical process to remove Cr (VI) from wastewaters in a tubular reactor