Enhanced nitrate reduction reaction via efficient intermediate nitrite conversion on tunable CuxNiy/NC electrocatalysts.