Resonant Raman scattering of graphite intercalation compounds KC8, KC24, and KC36