Inflation rose in June to 9.1% with energy accounting for as much as half of it, increasing by more than at any time since 1980.