Investigation of the gas evolution in lithium ion batteries: effect of free lithium compounds in cathode materials