Biodiversity and ecosystem functioning: A mechanistic model (resource competition! soil nutrients! spatial heterogeneity! plant biomass! productivity)