First-order phase transition in the graphite compound LiC6