Effect of anions on the textural and catalytic activity of titania