Hydrogeochemical controls on reactive and nonreactive solute transport in heterogenous porous media