Pore-scale dynamics and the multiphase Darcy law