Chemical Transformations in Li-Ion Battery Electrode Materials by Carbothermic Reduction