Modeling of polycrystalline ZnO thin-film transistors with a consideration of the deep and tail states