Studies of the double layer on cassiterite and rutile