Insight of reaction mechanism and anionic redox behavior for Li-rich and Mn-based oxide materials from local structure