South Africa opt to bat in third test against England