Adjoint-Based Shape Optimization for Electromagnetic Problems Using Discontinuous Galerkin Methods