Evaluation and optimization of the metal-binding properties of a complex ligand for immobilized metal affinity chromatography.