Structural origin of the high-voltage instability of lithium cobalt oxide