Inflation ticks up in June as tariffs start to take a toll