Method for depositing tin oxide and titanium oxide coatings on flat glass and the resulting coated glass