Sales of new cars declined by 1.3% in August, industry figures show.