German carmaker Volkswagen (VW) said it had ordered an external investigation of the violation of US emission rules.