Solid-state amperometric CO2 sensor using a lithium-ion conductor