Specialized Metabolites and Valuable Molecules in Crop and Medicinal Plants: The Evolution of Their Use and Strategies for Their Production