Pyrite film synthesized for lithium-ion batteries