The UK economy unexpectedly shrank in January, according to figures released on Friday by the Office for National Statistics.