Soil legacies and drought regulate plant diversity-productivity relationships