Controlling electron-beam-induced carbon deposition on carbon nanotubes by Joule heating