Efficient Synthesis, Characterization, and Antibacterial Activity of Novel N-Acylsulfonamides and Sulfonylureas