A molten Mg corrosion method for preparing porous Ti foam as self-supported Li–O 2 battery cathodes