Wetting of refractory materials by molten metallides