How biodiversity-productivity relationships change along ele