Chitosan Membranes Exhibiting Shape Memory Capability by the Action of Controlled Hydration