A Novel Ceramic Precursor Route for the Direct Production of Hierarchically Structured Titanium Alloy Foams