US inflation ticks higher in July on housing costs