Enzymatic Depolimerization of Chitosan for the Preparation of Functional Membranes