Productivity and sustainability influenced by biodiversity in grassland ecosystems