In vitro study of alginate–chitosan microcapsules: an alternative to liver cell transplants for the treatment of liver failure