On the transition between the C and B kinetic regimes for grain-boundary diffusion