Seed dispersal and environmental heterogeneity in a neotropical herb: a model of population and patch dynamics