How did the Swahili city-states of East Africa primarily interact with other societies during this period?