Why is sodium-intercalated graphite unstable?