During what periods did the Sumerican city-states rise to power