Phase transformation and lithiation effect on electronic structure of Li(x)FePO4: an in-depth study by soft X-ray and simulations.