Preparative affinity chromatography of proteins