Resilient carbon encapsulation of iron pyrite (FeS2) cathodes in lithium ion batteries