Electrochemical separation of analyte from a sample with a complex matrix useful for atomic absorption spectrometry