Studies of ion exchange materials, separation and determination of metal ions and analysis of drugs in synthetic and commercial preparations