They're in our phones, laptops and smartwatches—but lithium-ion batteries can be dangerous when damaged or overcharged.