Asda, the UK's second-largest grocer, has reported "a good performance" during what it described as a "very tough" Christmas trading period.