High-performance liquid chromatography of esters of aliphatic and aromatic carboxylic acids