Spectrophotometric determination of trace nitrite based on catalytic oxidation of thionine by potassium bromate