Design of tailored carbon nanostructures for hydrogen storage