In situ x-ray study of an acceptor-donor heterostructure: Stage-1 CoCl2-K-graphite intercalation compound.