Affinity chromatography of enzymes on insolubilized cofactors