Impurities and heterogeneity in pyrite: Influences on electrical properties and oxidation products