Patterns of species density and productivity at different spatial scales in herbaceous plant communities