Resonances in bent quantum wires