Electronic structure, x-ray photoemission spectra, and transport properties of Fe3C (cementite).