Development of a portable total nitrogen detection system based on microelectrodes