Lamellar compounds of graphite with transition metals. Graphite as a ligand