Three-Dimensional Energy Band in Graphite and Lithium-Intercalated Graphite