Synthesis and characterization of lithium–carbon compounds for hydrogen storage