Synthesis of substituted heterocycles. Simple method for the introduction of the N-hydroxyurea functionality