Structural properties and mechanical stability of lithium-ion based materials. A theoretical study