Text this: Integrated optoelectronics with two-dimensional materials