Depth-dependent oxygen redox activity in lithium-rich layered oxide cathodes