Computational materials science at work: Density functional based study of structural and optical properties of tin oxide surface