Structure of SnO2 alcosols and films prepared by sol–gel dip coating