Compositions containing nitrogen and phosphorus, and aqueous systems containing the compositions