An expert system as a tool for the specification and intelligent control of a flow injection analysis system