Chitosan-based biodegradable functional films for food packaging applications