In situ investigations of a Li-rich Mn–Ni layered oxide for Li-ion batteries