Two-dimensional capillaries assembled by van der Waals heterostructures