UK inflation unexpectedly slowed in December, according to new figures from the Office for National Statistics (ONS).