Discontinuous Galerkin methods for distributed control problems of a scalar hyperbolic equation