UK inflation accelerates sharply to 2.3% in October