South Africa opt to bat in fourth test against England