A Dieckmann/ring expansion approach to tetrahydropyrido- and tetrahydroazepino-[1,2-a]indoles