Real-time evolution of electrical properties and structure of indium oxide and indium tin oxide during crystallization