Reaction of carbon nucleophiles with alkylideneindazolium and indolium ions generated from 3-(1-arylsulfonylalkyl)indazoles and indoles