Direct and efficient solutions of integral equations for scattering from strips and slots