Researchers develop bacteria-fighting nanoparticles