Functional nanostructured chitosan–siloxane hybrids