Early stages of surface graphitization on nanodiamond probed by x-ray photoelectron spectroscopy