Hydrogen storage capacity of Ti-doped boron-nitride and B Be-substituted carbon nanotubes