Interaction of hydrogen isotopes with carbon nanostructures