Encapsulation of metal nanoparticles near the graphite surface: From a survey of metals to revealing a general phenomenon