Interfacial thermal resistance of 2D and 1D carbon/hexagonal boron nitride van der Waals heterostructures