Thermodynamic and Kinetic Properties of Materials for Next-Generation Rechargeable Batteries from First-Principles.