New Zealand, South Africa draw final Test