Direct/indirect band gap tunability in van der Waals heterojunctions based on ternary 2D materials Mo1−xWxY2