Synthesis of Annelated P- and N-containing Heterocycles Based on Methyl 5-Aminothiophene-2-Carboxylate Derivatives