Hydrazines and carbohydrazides produced from oxidized carbon in Earth's primitive environment