Synthesis and Structure-Activity Relationship Studies of 2,4-Thiazolidinediones and Analogous Heterocycles as Inhibitors of Dihydrodipicolinate Synthase