Synthesis and hydrolysis of ethyl esters of phenylacetic and phenylpropionic acids