VW has admitted that 8 million vehicles were fitted with software capable of cheating diesel emissions tests in the EU.