Fabrication of silver nanowires via a β-cyclodextrin-derived soft template