Hypervalent iodane mediated reactions of N-acetyl enamines for the synthesis of oxazoles and imidazoles.