Orientation-dependent friction between a carbon nanotube and graphite