Determination of chloride ion by electrochemiluminescence and investigation of the mechanism