Energy transfer in luminescent complexes of EuIII and TbIII with homo- and copolymers of acrylic acid and alkyl methacrylates