Phase equilibria and structural chemistry in the ternary systems M–Si–N and M–B–N (M = Al, Cu, Zn, Ag, Cd, In, Sn, Sb, Au, Tl, Pb, Bi)