Global megadrought, societal collapse and resilience at 4.2-3.9 ka BP across the Mediterranean and west Asia