Understanding And Optimization Of Field-Effect Transistor-Based Biological And Chemical Sensors