Lithium-ion intercalation mediated electrochemical nitrogen reduction