Self-assembly of double helical nanostructures inside carbon nanotubes.