Minimizing the impacts of the ammonia economy on the nitrogen cycle and climate