Synthesis of 3-deazaguanine, 3-deazaguanosine, and 3-deazaguanylic acid by a novel ring closure of imidazole precursors.