UK retail sales unexpectedly declined last month in a blow to the sector during the all-important festive shopping season, new official figures show.