Electronics and optoelectronics of lateral heterostructures within monolayer indium monochalcogenides | Synapse