Effect of residual oil saturation on hydrodynamic properties of porous media