Gradient formation in membrane unit for differential precipitation of proteins