Competitive hierarchies and the structure of herbaceous plant communities