Volkswagen said group operating profit more than doubled in the second quarter, helped by cost cuts.