Thermal Stability of Electrolytes with LixCoO2 Cathode or Lithiated Carbon Anode