Syntheses of d-ribosylamines, d-ribopyranosyl isothiocyanates, and d-ribopyranosylthioureas, and their transformations into heterocyclic compounds☆