Layer resolved structural relaxation at the surface of magnetic FePt icosahedral nanoparticles.