Multiscale coupling based on quasicontinuum method in nanowires at finite temperatures