Mannich reaction as a new route to pyridine-based polyaminocarboxylic ligands.