Chemistry of thienopyridines. III. Syntheses of the thieno[2,3-b]- and thieno[3,2-b]pyridine systems. Direct substitution into the former system