Stimuli-responsive polymer as gate dielectric for organic transistor sensors