How heatwaves and droughts are revealing our ancient past