Boron-doped silver nanosponges with enhanced performance towards electrocatalytic nitrogen reduction to ammonia.