Two-Dimensional Materials As A New Platform For Atomically Thin Electronics And Optoelectronics