A selective electrochemical approach to carbon nanotube field-effect transistors