Divided South Africans vote in tight elections that could en