Phenomenological model of the diffusion of impurity atoms in ultrathin silicon layers with a nonuniform distribution of temperatures