Regio- and stereoselective synthesis of isoindolin-1-ones via electrophilic cyclization.