Rapid purification of small molecule libraries by ion exchange chromatography