The UK's cost of living surged by 5.4% in the 12 months to December, hitting its highest level since 1992.