A discontinuous Galerkin finite element method for dynamic and wave propagation problems in non‐linear solids and saturated porous media