Sequential injection analysis for automation of the Winkler methodology, with real-time SIMPLEX optimization and shipboard application.