Self-propulsion of capped carbon nanotubes: a molecular dynamics study