Solidification process and effect of thermal treatments on Ni–Co–Mn–Sn metamagnetic shape memory alloys