Balsamic Green Beans with Red Onions and Shallots