Lithium deposition at the negative electrode of lithium batteries