Taijul takes six wickets but South Africa in control of second Test