Calculated potential energies for the adsorption of rare gases on graphite