Consumer confidence in the UK fell in December to its second lowest level since records began, according to figures from the Nationwide Building Society.