Calcium-mediated nitrogen reduction for electrochemical ammonia synthesis