Magnetic anisotropy switching induced by shape memory effect in NiTi/Ni bilayer