Structural stability, phase transition, and mechanical and electronic properties of transition metal nitrides MN (M = Tc, Re, Os, and Ir): First-principles calculations