Electrical resistivity of graphitized ultra-disperse diamond and onion-like carbon