Synthesis and biological evaluation of some new heterocyclic compounds containing nitrogen, oxygen and sulphur