A method for semi-continuous measurement of dissolved elemental mercury in industrial and natural waters