Electrocatalytic nitrate reduction for sustainable ammonia production