What effect did the first civilizations in Mesopotamia have on history?