Reproductive effort and herbivory timing in a perennial herb: fitness components at the individual and population levels.