Preparation and catalytic use of platinum in magnetic core/shell nanocomposites