Strong sales in its shops and online helped department store retailer John Lewis to "break records" over the Christmas trading period.