2D Lateral Heterostructures for Optoelectronic Devices