Developing unique nanoporous titanate structures for biomedical applications: mechanisms, conversion and substitution