Mg alloy infiltrated Si–O–C ceramic foams