Two-dimensional van der Waals nanosheet devices for future electronics and photonics