First-principles based kinetic modeling of effect of hydrogen on growth of carbon nanotubes