Site occupancy of Fe2+, Fe3+ and Ti4+ in titanomagnetite determined by valence-difference contrast in synchrotron X-ray resonant scattering.