In operando X-ray diffraction of lithium–oxygen batteries using an ionic liquid as an electrolyte co-solvent