Pore-scale simulation of fluid flow and solute dispersion in three-dimensional porous media