Swelling behaviour of alginate–chitosan microcapsules prepared by external gelation or internal gelation technology