A novel green synthesis of silver nanoparticles by the residues of Chinese herbal medicine and their biological activities