Facile route to straight SnO2 nanowires and their optical properties