UK inflation reaches 40-year high