New Zealand crush South Africa by an innings to win first Test