Unfolding the band structure of van der Waals heterostructures