Influence of silver doping on the photocatalytic activity of titania films