Sequential nature of the thermal reaction of stearic acid with some 1,2-diamines