Core-shell nanocomposites produced from metal dicarboxylates