Understanding structure, optical, and electrical properties of In4Sn3O12 and In4.5Sn2M0.5O12 (M = Nb and Ta)