Synthesis, antimicrobial, and QSAR studies of substituted benzamides.