Silicon-assisted synthesis and functionalization of sulfurated and selenated compounds