From selection to complementarity: the shift along the abiotic stress gradient in a controlled biodiversity experiment