The study of electrochemistry with ambient mass spectrometry