Application of the two stage ascorbic acid-iodate titration to the determination of iodine and iodide