Acidity of titania-supported tungsten or niobium oxide catalysts