Formation and structure of the potassium-benzene graphitides