Formation of transition metal boride and carbide perovskites related to superconducting MgCNi3