Characterization of doped tin dioxide anodes prepared by a sol–gel technique and their application in an SPE-reactor