Titanium with controllable pore fractions by thermoreversible gelcasting of TiH2