Kinetics in the thermal and catalytic amidation of C18 fatty acids with ethanolamine for the production of pharmaceuticals