A simple method to determine the surface energy of graphite