Inflation surges to highest level in nearly 2 years as energy