Hydrodynamic and surface interaction forces on a particle in a pore