Model calculations of superlubricity of graphite