Broadly Applicable Ytterbium-Catalyzed Esterification, Hydrolysis, and Amidation of Imides.