Integrating semiconductors and two-dimensional materials for next-generation optoelectronic and flexible devices.