Structural and optical characteristics of silicon nanowires prepared by the Ag-assisted chemical etching method