Pore-scale simulation of micro and nanoparticle transport in porous media