Fabrication and characterization of thin film transistors for improved electrical and optical performance