Volkswagen will close factories and lay off thousands of workers