Effects of substituents in the beta-position of 1,3-dicarbonyl compounds in bromodimethylsulfonium bromide-catalyzed multicomponent reactions: a facile access to functionalized piperidines.