Gate-modulated generation—recombination current in n-type metal—oxide—semiconductor field-effect transistor