frying onion and garlic in a pan