Ratchet Effect in Partially Gated Multifinger Field-Effect Transistors