Life cycle assessment of ammonia production from renewable energy