Effects of pre-carbonization on the structure and performance of hard carbon in lithium cells