Computer simulations of the dynamics of multicomponent ion exchange and adsorption in fixed beds. Gradient-directed moving finite element method