Carbon-nanotube formation mechanism reduced from the in situ observations: selective growth of nanotubes and nanoparticles