Predictive modeling of degradation mechanisms in advanced lithium batteries and barrier coatings