Effect of external magnetic field on diffusion of electrolytes in solution