Differential formulation of discontinuous Galerkin and related methods for compressible Euler and Navier-Stokes equations