Wool functionalization through AgNPs: coloration, antibacterial and wastewater treatment