Resistivity anomalies and phase transitions in alkali-metal graphite intercalation compounds