Optimisation of preparation conditions for Ti nanowires and suitability as an antibacterial material.