Discontinuous Galerkin approximation of two-phase flows in heterogeneous porous media with discontinuous capillary pressures