A quantitative analysis of OCN^- formation in interstellar ice analogs