Effect of silver doping on the photocatalytic activity of TiO2 nanopowders synthesized by the sol-gel route