A theoretical study of the electronic properties of intercalated graphite