Properties of fluorine-doped SnO2 thin films by a green sol–gel method