Luminescence Method for Studying the Formation and Stability of Macromolecular Complexes of Transition Metals with Carboxyl-Containing Polymers in Organic Solvents