Climatic changes and social transformations in the Near East and North Africa during the 'long 4th millennium BC: A comparative study of environmental and archaeological evidence