Diastereoselective one-pot tandem synthesis of 3-substituted isoindolinones: a mechanistic investigation.