Synthesis and antimicrobial activities of novel sorbic and benzoic acid amide derivatives.