A class of Discontinuous Galerkin methods for nonlinear variational problems