Benzannulation of aromatic heterocycles. A regiocontrolled method for construction of substituted benzo- and dibenzofurans and benzo- and dibenzothiophenes