Romney, Obama trade barbs over Middle East attacks