Inflation hits 6-year high, wiping out wage gains for the average American