Synthesis and “anomerization” of C-glycosyl compounds related to some heterocyclic natural products