The Nile in Egypt and the Euphrates River in Mesopotamia provided rich fertile soil that allowed civilizations to?