Interaction of functionalized dendrimers with metal ions and small molecules. Synthesis of other macromolecules with dendrimer mimic properties