South Africa counts the cost of its worst unrest since apartheid