Thermodynamic investigations of ternary lithium-transition metal-oxygen cathode materials