Entropy change caused by martensitic transformations of ferromagnetic shape memory alloys