Tin oxide thin films for photovoltaic devices