Catalytic fixation of molecular nitrogen by electrolytic and chemical reduction