Studies on the Chemistry of Thienoanellated O,N- and S,N-Containing Heterocycles. Part 1. Nucleophilic Substitution Reactions on Chlorinated Thiophene Derivatives as Basis for the Synthesis of Thienoanellated O,N- and S,N-Heterocycles