Thermal effect on transverse vibrations of double-walled carbon nanotubes