Direct microscopic observation of particle deposition in porous media: Role of the secondary energy minimum