The UK new car market declined by 1.6% in August, but there was a surge in electric car sales in the month, according to data released by the SMMT.