Complex formation of amino polyphosphonates. 1. Potentiometric and nuclear magnetic resonance studies of nitrilotris(methylenephosphonato) complexes of the alkaline-earth-metal ions