explanation of how a fet works