Comparative study of titania nanoparticles and nanotubes as antibacterial agents