U.S. import prices recorded their biggest drop in more than two years in June as prices for petroleum products fell and a strong dollar weighed on the costs of other goods.