South Africans cast their votes in local elections