Nanocomposites with biodegradable polymers