Methods for the analysis of inorganic anions