Torrential rains have devastated communities from Mozambique to South Africa, displacing hundreds of thousands.