Green Beans with Onions and Garlic