Band gap narrowing and the band structure of tin-doped indium oxide films