pH-dependent transport of metal cations in porous media.