Car sales in the UK fell last year with the Society of Motor Manufacturers and Traders (SMMT) saying rising living costs had hit potential buyers.