Synthesis of some azetidinones and arylidines containing heterocyclic compounds with potential use in medicine