South Africa have won a bilateral Twenty20 series for the first time in more than two years after chasing down Pakistan's 206 in Centurion.