Studies on synthesis, characterization and antimicrobial activity of some medicinally important compounds