New facile synthesis of one-dimensional Ag@TiO2 anatase core–shell nanowires for enhanced photocatalytic properties