Sulfur dioxide mediated one-pot, four-component synthesis of polyfunctional sulfones and sulfonamides, including medium-ring cyclic derivatives