Temperature effects on a motion transmission device made from carbon nanotubes: a molecular dynamics study