X-ray, e.p.r. and n.m.r. studies and structure of some ternary compounds of graphite