System identification of lithium-ion battery dynamics : from characterisation to application