Divergent synthesis of benzazepines and bridged polycycloalkanones via dearomative rearrangement