Magnetism in olivine-type LiCo(1-x)Fe(x)PO4 cathode materials: bridging theory and experiment.