Affinity purification of proteins using expanded beds