Chitosan-based nanocomposites: preparation and characterization for food packing industry