Degradation of superhard nanocomposites by built-in impurities