Preparation of aryl isothiocyanates via protected phenylthiocarbamates and application to the synthesis of caffeic acid (4-isothiocyanato)phenyl ester.