Synthesis of nano Ag powder by template and spray pyrolysis technology