Fabrication and applications of van der Waals heterostructures