Mechanistic aspects of the hydrogenation of some unsaturated mono and diacids and their methyl esters