New Zealand hit back as South Africa reach 140-5 to lead by 211