Signal Molecules Regulate the Synthesis of Secondary Metabolites in the Interaction between Endophytes and Medicinal Plants