Africa’s beaches offer everything from urban marketplaces and extreme sports to sanctuaries teeming with wildlife and deserted stretches of sand.