Phase stability and magnetic-field-induced martensitic transformation in Mn-rich NiMnSn alloys