Intercalation and superconductivity in ternary layer structured metal nitride halides (MNX: M = Ti, Zr, Hf; X = Cl, Br, I)