Volkswagen's third-quarter losses deepened due to a sales downturn in China and write-downs on its stake in Porsche