An automated system for multichannel flow-injection analysis