Structures of C6H7+ ions formed in unimolecular and bimolecular reactions