Synthesis of dual nanoparticles embedded in polyimide and their optical properties