UK Inflation Rises to Five-Month High of 3.1% in August Amid Energy Price Surge