A sensational hundred by Martin Guptill helped New Zealand clinch a thrilling win in the second Twenty20 international against South Africa on Sunday