Segmental flow-injection analysis: device and applications