Infrared determination of trace amounts of polyatomic inorganic ions