Poly(dopamine) and Ag nanoparticle-loaded TiO2 nanotubes with optimized antibacterial and ROS-scavenging bioactivities.