Adjoint-based shape optimization of a waveguide bend