Consumer prices in March were up 3.3% from a year ago, the biggest annual increase in nearly two years. Higher gasoline prices tied to the war with Iran accounted for much of the surge.