Green synthesis of copper and silver nanoparticles and their comparative toxicity and antibacterial evaluation in pharmaceutical wastewater treatment