Thin-film transistor and manufacturing method thereof