Study of spin-conversion compound nanoparticles in the atom- phonon coupling model including a surface effect