Synthesis, structural elucidation, pharmacological and molecular docking studies of terpolymer transition metal complexes