Application of the Ugi four-component reaction to the synthesis of ditopic bifunctional chelating agents.