How did the people of any one British West African territory govern themselves before the advent of colonial rule?