Volkswagen plans factory closures and layoffs