A mathematical analysis of affinity membrane bioseparations