Synthesis of phthalimidines. Acid‐catalyzed cyclodehydration versus cyclodeamination of γ‐hydroxyamides obtained from dilithio‐N‐substituted benzamides and ketones