Were the complex societies in mesopotamia and egypt between 3500-1500 bce generally similar to or generally different from each other?