Carbon nanotube-based extraction and electrochemical detection of heavy metals