Determining carrier mobility with a metal–insulator–semiconductor structure