Studies on inorganic and organic ion exchange materials and their applications to environmental analysis