Synthesis and Characterization of Hydrazide-Linked and Amide-Linked Organic Polymers.