Sensor behavior of MoS2 field-effect transistor with light injection toward chemical recognition