Molecular cloning and characterization of triterpene synthases from Medicago truncatula and Lotus japonicus