Fractional factorial design and simplex algorithm for optimizing sequential injection analysis (SIA) and second order calibration