Source-sink dynamics within a plant population: the impact of substrate and herbivory on palm demography