Transition metal interaction and formation of intermetallic phases in multicrystalline silicon