Green beans with sweet and sour red onions