Metallic nanoparticles: antibacterial activity and ecotoxicity