Entropy change linked to the martensitic transformation in metamagnetic shape memory alloys