Electrochemical synthesis of ammonia based on a carbonate-oxide composite electrolyte