Preparation of Ni nanoparticles by liquid-phase reduction to fabricate metal nanoparticle–polyimide composite films