Green synthesis of nanostructured silver particles and their catalytic application in dye degradation