Effect of species dispersal and environmental factors on species assemblages in grassland communities