Preparation of tetraoxa-diaza-cyclooctadecane acetylaminocarboxylic acid derivatives as ligands for complexation with metals