Carbon emissions from new cars have fallen dramatically as motorists shun gas guzzlers and manufacturers bring in new technology.