Exploring the structural, electronic, and hydrogen storage properties of hexagonal boron nitride and carbon nanotubes: insights from single-walled to doped double-walled configurations