Design and construction of a multichannel detector for flow injection analysis