Electrochemical techniques for microfluidic applications