Effects of intraspecific and community density on the lifetime fecundity of long-lived shrubs