Inflation in the 20 countries that use the euro has risen to 2.6% in July, figures show.