Preparation and characterization of carbon foams from cyanate ester mixtures