Electrical potentials and ionic fluxes in ion exchangers: I. “n type” non-ideal systems with zero current