Electrodialysis and Nitrate Reduction to Enable Distributed Ammonia Manufacturing from Wastewaters