Visible emission from Er-doped SnO2 thin films deposited by sol-gel