In Situ Solvothermal Generation of 1,2,4-Triazolates and Related Compounds from Organonitrile and Hydrazine Hydrate: A Mechanism Study