U.S. goods trade deficit narrows sharply in June; inventories increase