Stability differences and conversion mechanism between nanotubes and scrolls