Spectroscopic studies of transition-metal ion complexes of diethylenetriaminepenta-acetic acid and diethylenetriaminepenta-methylphosphonic acid