Synthesis of nickelocene containing polyimides with low-dielectric constants