Acid-Induced Rearrangements of 2,8-Diazabicyclo[3.2.1]octa-3,6-dienes Leading to 1,4-Dihydropyridine and Pyrrole Derivatives