Phase diagram and magnetocaloric effects in Ni50Mn35(In1−xCrx)15 and (Mn1−xCrx)NiGe1.05 alloys