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