Effects of thermal cycling on the thermal and magnetic response of Ni–Mn–Sn–Pd alloys