Magnetic nanoparticles of core-shell structure for recoverable photocatalysts