Synthesis of fused ring heterocycles from aromatic amines with hydroximoyl chlorides