Chitosan-modified nanocomposite