Scanning tunneling spectroscopy of graphite and intercalates