Magnetically induced reorientation of martensite variants in constrained epitaxial Ni–Mn–Ga films grown on MgO(001)