Degenerate two-phase porous media flow model with dynamic capillarity