Synthesis of biologically active heterocyclic compounds and pharmacological evaluation of some selected medicinal plants