A Microstructural Resolved Model for the Stress Analysis of Lithium-Ion Batteries