Consumer prices in the United States increased by a half-percent during the month of July, according to government figures released on Wednesday — slightly higher than most experts were predicting.