The role of potassium in the catalytic synthesis of ammonia