Medical and biological applications of electrochemical devices