Infrared studies of the thermal conversion of mefenamic acid between polymorphic states