Harvest time optimization for medicinal and aromatic plant secondary metabolites.