A new analytical model for amorphous-silicon thin-film transistors including tail and deep states