Functional derivatives of carboxylic acids