South Africa’s leader apologizes for xenophobic attacks