Esters of carboxylic acids having an esterified carboxyl group bound to a carbon atom of a ring other than a six-membered aromatic ring