Martensitic and magnetic transformation in Ni–Mn–Ga–Co ferromagnetic shape memory alloys