Synthesis and optical behavior of PLED devices based on (PMMA)/(PAA)/Er(AP)6Cl3 complex and N,N′-didodecyl-3,4,9,10-perylene tetracarboxylic diimide composites