Excitonic devices based on two-dimensional transition metal dichalcogenides van der Waals heterostructures