A comparative study on the structural, optical, and electrical properties of titania films grown by spin-coating method