Phase transition in rubidium-intercalated graphite C24Rb