Enhancing the electrocatalytic performance of nitrate reduction to ammonia by in-situ nitrogen leaching