Synthesis of pyrido[3′,2′:4,5]pyrrolo-and pyrido[3′,2′:4,5]thieno[3,2-d]pyrimidine derivatives using the thorpe-ziegler cyclization reaction