Nigeria, South Africa to set up system to prevent xenophobic attacks