Synthesis and investigation of cross-shaped and spirocyclic heteroorganic compounds