Base-catalyzed switchable reactivity of N-acyl-α-aminonitriles: oxidative decyanation to imides and hydrolysis to amides in batch and flow | Synapse