Mechanism of charge exchange at a liquid crystal-electrode interface