Development and characterization of mesoporous terpolyimide nanocomposites with low dielectric constant