Amide synthesis in plants