Dynamic capillary pressure effects in two-phase flow through heterogeneous porous media