Theory of layered-oxide cathode degradation in Li-ion batteries by oxidation-induced cation disorder