TiO2 Nanotube Arrays as Smart Platforms for Biomedical Applications