Application of a rapid scanning photodiode-array spectrophotometer to the continuous determination of nickel and cobalt