Protein purification by affinity chromatography