Ab initio-based investigation of phase transition path and magnetism of Ni–Mn–In alloys with excess Ni or Mn