Topology optimization of a waveguide bend