Which part of africa made a peaceful transition away from european imperialism while other areas had violent struggles?