A novel soft-template technique to synthesize metal Ag nanowire