Facile preparation of N-(sulfonyl)carbamates