The interaction of rare gas atoms with graphite surfaces. I. Single adatom energies