Relative importance of biodiversity and the abiotic environment in mediating an ecosystem process