Relation between pressure and fractional flow in two-phase flow in porous media.