A pairwise hydrodynamic theory for flow-induced particle transport in shear and pressure-driven flows