Electric and magnetic signatures of martensitic and intermartensitic transformations in Ni–Mn–Ga crystal