Proton‐ and halogen‐induced cyclizations of 2‐(3‐butenyl)quinazolin‐4( 3 H )‐ones in the synthesis of pyrrolo[2,1‐ b ]‐ and pyrrolo[1,2‐ а ]quinazolinone derivatives