Stabilizing structure and voltage decay of lithium-rich cathode materials