Control of DNA capture by nanofluidic transistors