Preparation and Thermal Decomposition of N,N'-Diacyl-N,N'-Dialkoxyhydrazines: Synthetic Applications and Mechanistic Insights