Production of pyrrhotites by pyrite reduction