Self-assembled titanium-based macrostructures with hierarchical (macro-, micro-, and nano) porosities A fundamental study