Biodiversity effects on ecosystem functioning change along environmental stress gradients.