Magnetic Core−Shell Nanoparticles from Nanoscale-Induced Phase Segregation