Thermal and magnetic hysteresis associated with martensitic and magnetic phase transformations in Ni52Mn25In16Co7 Heusler alloy