There's been a surprise fall in inflation to 2.5% after two months of rises, official figures show.