XANES Investigation of Dynamic Phase Transition in Olivine Cathode for Li‐Ion Batteries