New Methods for the Synthesis of 3‐Amino‐6,7‐Dihydro‐5H‐Cyclopenta[c]Pyridine‐4‐Carbonitriles and Cyclopenta[d]Pyrazolo[3,4‐b]Pyridines via a Smiles‐type Rearrangement