Electrochemical generation-collection sensors for bioanalysis