Gasoline, food boost U.S. consumer inflation in June