Progress and challenges in bacterial infection theranostics based on functional metal nanoparticles.