Structure and morphology of thin SnO2 films