Dynamic oxygen shield eliminates cathode degradation in lithium–oxygen batteries