Magnetic and structural transition of Ni50+xMn25−x/2Ga25−x/2 (x=2–5) alloys