South Africa bounced back from their humiliating defeat by England as Tazmin Brits' stunning century helped the Proteas defeat New Zealand by six wickets at the Women's World Cup.