Thermal and electrochemical stability of cathode materials in solid polymer electrolyte