Dynamic feedback regulation of the potential of a microfabricated liquid-junction Ag/AgCl reference electrode