Basic Principles of Lithium Ion Batteries