A posteriori subcell limiting of the discontinuous Galerkin finite element method for hyperbolic conservation laws