Detection of ligands from a dynamic combinatorial library by X-ray crystallography.