Analysis of surface states in ZnO nanowire field effect transistors