Synthesis and properties of films of a polyimide filled with ferromagnetic nanoparticles