Photodetectors based on junctions of two-dimensional transition metal dichalcogenides*