Polyetherimide nanocomposite foams as an ablative for thermal protection applications