Text this: DFT study of hydrogen adsorption on pure and functionalized carbon nanotubes